package cn.tedu.boot0904.mapper;

import cn.tedu.boot0904.entity.Category;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CategoryMapper {

    int insert(Category category);
    List<Category> selectAll();
    Category selectById(int id);
    int dynamicUpdate(Category category);
    int deleteById(int id);
    int delete(Integer[] ids);
    int count();

}
